home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
A-COMAL Series
/
(k)aac.d64
/
keyaddress.func
< prev
next >
Wrap
Text File
|
2007-02-28
|
238b
|
11 lines
9000 //
9010 FUNC KEYADDRESS(NUM) CLOSED
9020 DIM NUMBER$ OF 9, S$ OF 1
9030 NUMBER$:="013572468"
9040 S$:=CHR$(48+NUM)
9050 IF S$ IN NUMBER$ THEN
9060 RETURN 50500+((S$ IN NUMBER$)-1)*10
9070 ENDIF
9080 ERROR(3)
9090 ENDFUNC KEYADDRESS